<ion-view class="bg">
  <ion-content class="contentFlow">
    <div class="logo">
      <div>
        <img src="img/logo.png">
      </div>
    </div>
    <div class="list card">
      <div class="item item-input">
        <i class="ion ion-android-phone-portrait positive iconMargin"></i>
        <input type="tel" maxlength="11" placeholder="请输入手机号" ng-model="user.username" ng-change="changeNum(user.username)">
      </div>
      <div class="item item-input">
        <i class="ion ion-ios-locked positive iconMargin"></i>
        <input type="password" placeholder="请输入密码" ng-model="user.password">
      </div>
    </div>
    <div class="btn">
      <div class="button button-block button-positive" ng-click="loginClick()">登录</div>
    </div>
    <a ui-sref="forgetPwd" class="forgetPwd">忘记密码?</a>
    <a ui-sref="register" class="register">新用户注册</a>
    <p class="customerTel" ng-click="callPhone('400-027-2456')">
      客服电话:400-027-2456
    </p>
  </ion-content>
</ion-view>
